package cmo.neutech.day11.d1;

public class Student {
    double score;
    double finalScore;

    public double getScore(double score,double finalScore) throws Exception{
        double sum = score + finalScore/2;
        if(sum < 60)
            throw new Exception("成绩不及格");
        return sum;
    }
}
